import Vue from 'vue'
import Vant, { Locale } from 'vant'
import 'vant/lib/index.css'
import enUS from 'vant/es/locale/lang/en-US';
import zhCh from 'vant/es/locale/lang/zh-CN';

Vue.use(Vant)

if(window.system_localLang==='ch'){
    Locale.use('zh-CN', zhCh);
}else if(window.system_localLang==='en'){
    Locale.use('en-US', enUS);
}
